package cn.funeralobjects.upms;

import java.util.UUID;

/**
 * 基本信息接口
 *
 * @author FuneralObjects
 * Create date: 2020/4/20 4:41 PM
 */
public interface BasicInfo {
    /**
     * 模块名
     */
    String MODULE = "UPMS";

    String ANONYMOUS_ROLE_CODE = "Anonymous";
    String ANONYMOUS_ROLE_NAME = "匿名角色";

    /**
     * 获取UUID CODE
     *
     * @return uuid 唯一编码
     */
    static String generatorCode() {
        return UUID.randomUUID().toString().replaceAll("-", "");
    }
}
